package com.fjec.market.es.repository;

import com.fjec.market.es.document.SpuDocument;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;

import java.util.List;

public interface SpuRepository extends ElasticsearchCrudRepository<SpuDocument, Long> {
    List<SpuDocument> findBySpuTitle(String title);
}
